package com.hmh.student.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hmh.student.system.entity.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyf
 * @since 2025-04-09
 */
public interface ISysUserRoleService extends IService<SysUserRole> {


    Page<SysUserRole> queryUserRolepage(Integer userId, Integer roleId, Integer current, Integer pageSize);


    void assignRoleToUser(Integer userId, Integer roleId);


    Integer getRoleByUserId(Integer userId);
}
